﻿namespace B.S.DataBase.MyRead.API.DTOs
{
    public class LeaveApplicationsHeadsDtos
    {

        public int ApplicationId { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public string? UserName { get; set; }
        public int? DepId { get; set; }

        /// <summary>
        /// 请假类型
        /// </summary>
        public int LeaveType { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        public string Leavetime { get; set; }
        /// <summary>
        /// 总工时
        /// </summary>
        public long? Totalhours { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 部门领导名称
        /// </summary>
        public string DepheadsName { get; set; }

        /// <summary>
        /// 审批状态  0:提交 1：处理中 2：已完成
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 审批记录ID
        /// </summary>
        public int? RecordId { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        public int UserId { get; set; }
   

        /// <summary>
        /// 部门领导 0:员工 1:领导 2:负责人
        /// </summary>
        public int Heads { get; set; }



        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplicationName { get; set; }


        /// <summary>
        /// 审批人姓名--登录人
        /// </summary>
        public string ApprovalName { get; set; }


        /// <summary>
        /// 审批状态    0：待审批 1：已审批
        /// </summary>
        public int ApproveStatus { get; set; }

        /// <summary>
        /// 审批意见    1:同意 2:拒绝
        /// <summary>
        public string? ApprovalOpinion { get; set; }
        /// <summary>
        /// 审批意见    1:同意 2:拒绝
        /// <summary>
        public DateTime ApprovalCreatetime { get; set; }


        /// <summary>
        /// 拒绝原因
        /// </summary>
        public string? Reasonrejection { get; set; }

    }
}
